<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
 <link rel="stylesheet" type="text/css" href="../Css/EstiloPresupuesto.css" media="screen,projection" />
<style type="text/css">
<!--
body {
	font-size: 13px;
	margin: 135px 20px;
	
	margin-top: 175;
	margin-left: 20;
	margin-right: 30px;
	margin-bottom: 100;
}

td,th {
	font-size: 13px;
}
-->
</style></head>

<body>
<script type="text/php">
$header=$pdf->open_object();
$font = Font_Metrics::get_font("verdana", "normal");
$texto = "___________________________________________________________________________________________________________________";
$texto2 = "Caracas: Calle el Carmen a Santa Elena- Res. Santa Elena - Sotano - La Pastora - C.P 1010. Caracas: Calle el Carmen a Santa Elena- Res.";
$texto3 = "        Santa Elena - Sotano - La Pastora - C.P 1010. TELF:(0212) 861.62.59- 861.73.28 - 862.21.86 -  864.39.42 - FAX: 864.35.36";
$texto4 = "PLANTA: Calle Milano - Parcela 102 - Paraiso del Tuy - Santa teresa -EDO. Miranda - Telf.: (0239) 231.00.49 - FAX.:(0239)231.05.92";
$texto5 = "Rif: J-00309311-4 - Nit: 0029314780";
$texto6 = "      Web: www.fersar.com.ve";
$hpagina = $pdf->get_height();
$wpagina = $pdf->get_width();
$wtexto = Font_Metrics::get_text_width($texto, $font, 10);
$pdf->image("../Recourse/fersar_logo.gif", "gif", 90, 20, 200, 60);
$pdf->page_text(120, 100, $texto6,
$font, 10, array(0,0,0));
$pdf->page_text(120, 80, $texto5,
$font, 10, array(0,0,0));


$pdf->page_text($wpagina/2 - $wtexto/2, $hpagina-100, $texto,
$font, 10, array(0,0,0));
$pdf->page_text($wpagina/2 - $wtexto/2, $hpagina-75, $texto2,
$font, 10, array(0,0,0));
$pdf->page_text($wpagina/2 - $wtexto/2, $hpagina-60, $texto3,
$font, 10, array(0,0,0));
$pdf->page_text($wpagina/2 - $wtexto/2, $hpagina-45, $texto4,
$font, 10, array(0,0,0));



$pdf->close_object();
$pdf->add_object($header, "all");
</script>
<table width="600" border="0" align="center">
  <tr>
    <td width="172" height="18" align="left" valign="top"><span style="margin-left:85px">Sres:</span></td>
    <td width="130" align="left" valign="top">{CLT_NOMBRE} {CLT_APELLIDO}</td>
    <td width="241" rowspan="6" align="right" valign="top">Caracas, {DIA} de {MES} de {ANO}</td>
    <td width="39" rowspan="6" align="right" valign="top">&nbsp;</td>
  </tr>
  <tr>
    <td height="14" align="left" valign="top"><span style="margin-left:85px">Obra:</span></td>
    <td height="14" align="left" valign="top">{CLT_DIRECCION}</td>
  </tr>
  <tr>
    <td height="14" align="left" valign="top"><span style="margin-left:85px">Rif</span></td>
    <td height="14" align="left" valign="top">{CLT_RAZON_SOCIAL}</td>
  </tr>
  <tr>
    <td height="14" align="left" valign="top"><span style="margin-left:85px">Telf</span></td>
    <td height="14" align="left" valign="top">{CLT_TELEFONO}</td>
  </tr>
  <tr>
    <td height="14" align="left" valign="top"><span style="margin-left:85px">Cel</span></td>
    <td height="14" align="left" valign="top">{CLT_TELEFONO_CEL}</td>
  </tr>
  <tr>
    <td height="27" align="left" valign="top"><span style="margin-left:85px">Mail</span></td>
    <td height="27" align="left" valign="top">{CLT_EMAIL}</td>
  </tr>
  <tr>
    <td height="56" colspan="4" valign="middle"><p style="margin-left:85px">&nbsp;</p></td>
  </tr>
  <tr>
    <td height="16" colspan="2" valign="middle"><span style="margin-left:85px">PRESUPUESTO:</span></td>
    <td colspan="2" valign="middle">N {PTO_ID}</td>
  </tr>
  <tr>
    <td height="14" colspan="2" align="left" valign="middle"><p style="margin-left:85px">OBJETO:</p></td>
    <td colspan="2" valign="middle"><p style="width:200px">{PTO_OBJETO}</p></td>
  </tr>
  <tr>
    <td height="14" colspan="2" align="left" valign="middle"><p style="margin-left:85px">CONDICIONES DE PAGO:</p></td>
    <td colspan="2" valign="middle"><p style="width:200px">{PTO_FORMA_PAGO}</p></td>
  </tr>
  <tr>
    <td height="14" colspan="2" align="left" valign="middle"><p style="margin-left:85px">TIEMPO DE ENTREGA:</p></td>
    <td colspan="2" valign="middle"><p style="width:200px">{PTO_TIEMPO_ENTREGA}</p></td>
  </tr>
  <tr>
    <td height="17" colspan="2" align="left" valign="middle"><p style="margin-left:85px">TOTAL:</p></td>
    <td colspan="2" valign="middle">Bsf. {PTO_PRECIO_TOTAL} + IVA</td>
  </tr>
  <tr>
    <td height="33" colspan="4" align="center" valign="bottom">&nbsp;</td>
  </tr>
  <tr>
    <td height="58" colspan="2" align="center" valign="bottom">______________________________________<br />
      Sr. {CLT_NOMBRE} {CLT_APELLIDO}</td>
    <td height="58" colspan="2" align="center" valign="bottom">______________________________________<br />
    {USR_NOMBRE} {USR_APELLIDO}</td>
  </tr>
  <tr>
    <td height="26" colspan="4" align="center" valign="bottom">{CONTENIDO}</td>
  </tr>
</table>

</body>
</html>